package com.func.eurekaconsumerhystrix.hystrix;

import com.func.eurekaconsumerhystrix.remote.HelloRemote;
import org.springframework.stereotype.Component;

/**
 * Created by txliu on 2019/6/25.
 */
@Component
public class HelloRemoteHystrix implements HelloRemote {
    @Override
    public String hello(String name) {
        return name + " provider 接口调用失败，请稍后再试";
    }
}
